package com.wss.module.wan.ui.series.mvp.model;

import com.wss.common.base.mvp.BaseModel;
import com.wss.common.net.Api;
import com.wss.common.net.NetworkManage;
import com.wss.module.wan.bean.Classification;
import com.wss.module.wan.ui.series.mvp.contract.SeriesContract;
import java.util.List;
import com.zhouyou.http.callback.SimpleCallBack;
import ohos.aafwk.ability.ILifecycle;
import ohos.aafwk.ability.Lifecycle;

/**
 * Describe：体系Module
 * Created by 吴天强 on 2018/11/21.
 */
public class SeriesModel extends BaseModel implements SeriesContract.Model {


    public SeriesModel(Lifecycle lifecycleOwner) {
        super(lifecycleOwner);
    }

    @Override
    public void getSystem(SimpleCallBack<List<Classification>> callBack) {
        NetworkManage.createGet().requestList(Api.TREE, callBack);
    }
}
